<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>QSculpt: Scene Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">QSculpt
   &#160;<span id="projectnumber">0.0.1a</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#friends">Friends</a>  </div>
  <div class="headertitle">
<div class="title">Scene Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="Scene" --><!-- doxytag: inherits="SceneNode" -->
<p><code>#include &lt;<a class="el" href="_scene_8h_source.html">Scene.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for Scene:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_scene.png" usemap="#Scene_map" alt=""/>
  <map id="Scene_map" name="Scene_map">
<area href="class_scene_node.html" alt="SceneNode" shape="rect" coords="0,0,78,24"/>
</map>
 </div></div>

<p><a href="class_scene-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_scene_1_1_impl.html">Impl</a></td></tr>
<tr><td colspan="2"><h2><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae9deb26253020ed5d68346d82b79f21d"></a><!-- doxytag: member="Scene::SharedPtr" ref="ae9deb26253020ed5d68346d82b79f21d" args="" -->
typedef std::shared_ptr&lt; <a class="el" href="class_scene.html">Scene</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>SharedPtr</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a397a9222d1093201dedb3382b73b27db"></a><!-- doxytag: member="Scene::WeakPtr" ref="a397a9222d1093201dedb3382b73b27db" args="" -->
typedef std::weak_ptr&lt; <a class="el" href="class_scene.html">Scene</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>WeakPtr</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a774b5ca76f1bb01a9dbf4270a7fb9c72"></a><!-- doxytag: member="Scene::Ptr" ref="a774b5ca76f1bb01a9dbf4270a7fb9c72" args="" -->
typedef std::unique_ptr&lt; <a class="el" href="class_scene.html">Scene</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>Ptr</b></td></tr>
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa8f88e4c6ad29a3f30b0c3f8a8fdace3"></a><!-- doxytag: member="Scene::Scene" ref="aa8f88e4c6ad29a3f30b0c3f8a8fdace3" args="(const std::string &amp;name)" -->
&#160;</td><td class="memItemRight" valign="bottom"><b>Scene</b> (const std::string &amp;name)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac3a12c263881aa1f7d5cdcc007841b2f"></a><!-- doxytag: member="Scene::findByName" ref="ac3a12c263881aa1f7d5cdcc007841b2f" args="(const QString &amp;name)" -->
SceneNode::SharedPtr&#160;</td><td class="memItemRight" valign="bottom"><b>findByName</b> (const QString &amp;name)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">SceneNode::SharedPtr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_scene.html#ace6c57531dd74a9b1dca3767c583b837">findByIID</a> (uint iid)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_scene.html#af71afc76f4032e29c7d082ec5eb99c60">intersects</a> (const <a class="el" href="classgeometry_1_1_ray.html">geometry::Ray</a> &amp;ray, <a class="el" href="classdata_1_1_i_collection.html">data::ICollection</a>&lt; SceneNode::WeakPtr &gt; *col)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_scene.html#a9a7fc35ffeb4672387f017b6ad3f3923">intersects</a> (const <a class="el" href="classgeometry_1_1_a_a_b_b.html">geometry::AABB</a> &amp;box, <a class="el" href="classdata_1_1_i_collection.html">data::ICollection</a>&lt; SceneNode::WeakPtr &gt; *col)</td></tr>
<tr><td colspan="2"><h2><a name="friends"></a>
Friends</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac830d055ae7c83311e0043d6f0078fb7"></a><!-- doxytag: member="Scene::SceneNodeIterator" ref="ac830d055ae7c83311e0043d6f0078fb7" args="" -->
class&#160;</td><td class="memItemRight" valign="bottom"><b>SceneNodeIterator</b></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Contains all the scene data. All 3D objects reference data from the scene.</p>
<dl class="author"><dt><b>Author:</b></dt><dd>Juan Roberto Cabral Flores &lt;<a href="mailto:roberto.cabral@gmail.com">roberto.cabral@gmail.com</a>&gt; </dd></dl>
</div><hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="ace6c57531dd74a9b1dca3767c583b837"></a><!-- doxytag: member="Scene::findByIID" ref="ace6c57531dd74a9b1dca3767c583b837" args="(uint iid)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">SceneNode::SharedPtr Scene::findByIID </td>
          <td>(</td>
          <td class="paramtype">uint&#160;</td>
          <td class="paramname"><em>iid</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns the node with the specified instance ID. NULL if not found. </p>

</div>
</div>
<a class="anchor" id="af71afc76f4032e29c7d082ec5eb99c60"></a><!-- doxytag: member="Scene::intersects" ref="af71afc76f4032e29c7d082ec5eb99c60" args="(const geometry::Ray &amp;ray, data::ICollection&lt; SceneNode::WeakPtr &gt; *col)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Scene::intersects </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classgeometry_1_1_ray.html">geometry::Ray</a> &amp;&#160;</td>
          <td class="paramname"><em>ray</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classdata_1_1_i_collection.html">data::ICollection</a>&lt; SceneNode::WeakPtr &gt; *&#160;</td>
          <td class="paramname"><em>col</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns a list of nodes that intersects a given ray. </p>

</div>
</div>
<a class="anchor" id="a9a7fc35ffeb4672387f017b6ad3f3923"></a><!-- doxytag: member="Scene::intersects" ref="a9a7fc35ffeb4672387f017b6ad3f3923" args="(const geometry::AABB &amp;box, data::ICollection&lt; SceneNode::WeakPtr &gt; *col)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Scene::intersects </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classgeometry_1_1_a_a_b_b.html">geometry::AABB</a> &amp;&#160;</td>
          <td class="paramname"><em>box</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classdata_1_1_i_collection.html">data::ICollection</a>&lt; SceneNode::WeakPtr &gt; *&#160;</td>
          <td class="paramname"><em>col</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns a list of nodes that are intersected or contained by an Axis Aligned Bounding <a class="el" href="class_box.html">Box</a> (AABB) </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>engine/include/<a class="el" href="_scene_8h_source.html">Scene.h</a></li>
<li>engine/src/Scene.cpp</li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerator</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Thu May 31 2012 16:19:52 for QSculpt by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.5.1
</small></address>

</body>
</html>
